package com.example.util

import java.time.LocalDateTime
import java.time.format.DateTimeFormatter


fun p(){
    println()
}

fun <T> p(vararg t:T){
    val formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
    print(LocalDateTime.now().format(formatter))
    print(",")
    println(t.joinToString(","))
}


fun <T> g(vararg t: T)= p(*t)

fun main(){
    p(1,2,3,4,5,"8766jfhhdfds","jklkkkkk")
    g(8,3,4,1,323,"hhh","hkjhfa")



}


